package com.whfc.mach.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class AppBoardMachDTO implements Serializable {
	private String machCode;
	private Integer machTypeId;
	private String machTypeName;
	private Integer netState;
	private Integer workState;
	private String deptName;
	private Double workTimes;
	private Double idleTimes;
	private Double totalTimes;
	private Double efficExp;
	private Integer bindFlag;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date time;
	/**
	 * 状态持续的时间(秒)
	 */
	private Long duration;

	private List<MachOperEmpDTO> operEmpList;

	private Double remainOil;
	private Double remainOilPercent;
}
